from django.conf.urls import url

from areas import views

urlpatterns = [

        #查询省份的路由
        url(r'^areas/$', views.AreaProvinceView.as_view()),

        # 查询城市和区县的路由
        url(r'^areas/(?P<pk>\d+)/$', views.SubAreaView.as_view()),

]